<div style="background-color: #E4EFF9; margin-top: -5px; margin-bottom: -10px; min-height:640px; ">
<div class="container">
    <div class="row" style="margin-top: 20px">
        <div class="col-lg-offset-2 col-lg-8">
            <div ng-show="registerSuccess" class="alert alert-success">注册成功!</div>

            <form class="form-horizontal" role="form" ng-submit="register()">
                <div class="form-group" style="margin-top: 20px">
                    <label for="email" class="col-sm-3 control-label">邮箱</label>
                    <div class="col-sm-6">
                        <input type="text" class="form-control" id="email" ng-model="user.email" placeholder="邮箱">
                    </div>
                    <div class="col-sm-3">
                        <label ng-if="checkResult.validType == 'email'" class="control-label" style="color: red">{{checkResult.validMessage}}</label>
                    </div>
                </div>

                <div class="form-group" style="margin-top: 20px">
                    <label for="userPassword" class="col-sm-3 control-label">密码</label>
                    <div class="col-sm-6">
                        <input type="password" class="form-control" id="userPassword" ng-model="user.password" placeholder="字符长度大于6位">
                    </div>
                    <div class="col-sm-3">
                        <label ng-if="checkResult.validType == 'password'" class="control-label" style="color: red">{{checkResult.validMessage}}</label>
                    </div>
                </div>
                <div class="form-group" style="margin-top: 20px">
                    <label for="confirmPassword" class="col-sm-3 control-label">确认密码</label>
                    <div class="col-sm-6">
                        <input type="password" class="form-control" id="confirmPassword" ng-model="user.confirmPassword" placeholder="">
                    </div>
                    <div class="col-sm-3">
                        <label ng-if="checkResult.validType == 'confirmPassword'" class="control-label" style="color: red">{{checkResult.validMessage}}</label>
                    </div>
                </div>
                <div class="form-group" style="margin-top: 20px">
                    <label for="phone" class="col-sm-3 control-label">手机号码</label>
                    <div class="col-sm-6">
                        <input type="text" class="form-control" id="phone" ng-model="user.phoneNumber" placeholder="手机号">
                    </div>
                    <div class="col-sm-3">
                        <label ng-if="checkResult.validType == 'phoneNumber'" class="control-label" style="color: red">{{checkResult.validMessage}}</label>
                    </div>
                </div>

                <div class="form-group" style="margin-top: 20px">
                    <label class="col-sm-4 control-label"></label>
                    <div class="col-sm-4">
                        <input type="submit" class="form-control btn-primary" value="注册">
                    </div>
                    <div class="col-sm-3">
                        <label ng-if="checkResult.validType == 'submit'" class="control-label" style="color: red">{{checkResult.validMessage}}</label>
                    </div>
                </div>
            </form>

        </div>
    </div>
</div>
</div>